package com.hmall.order.service;

import com.hmall.order.dto.OrderDto;
import com.hmall.order.pojo.Order;

import javax.servlet.ServletInputStream;
import java.util.Date;
import java.util.Map;

public interface OrderService {
   Order inserOrder(OrderDto order);

    void updateStock(OrderDto orderDto);

    Order queryById(Long id);

    String orderPay(Integer type, Long orderId) throws Exception;

    Map<String, String> payNotify(ServletInputStream inputStream);

    void ordertime(Date date);
}
